package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowFormInstance;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowFormInstanceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FlowFormInstanceDAO {
    long countByExample(FlowFormInstanceExample example);

    int deleteByExample(FlowFormInstanceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowFormInstance record);

    int insertSelective(FlowFormInstance record);

    List<FlowFormInstance> selectByExampleWithBLOBs(FlowFormInstanceExample example);

    List<FlowFormInstance> selectByExample(FlowFormInstanceExample example);

    FlowFormInstance selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowFormInstance record, @Param("example") FlowFormInstanceExample example);

    int updateByExampleWithBLOBs(@Param("record") FlowFormInstance record, @Param("example") FlowFormInstanceExample example);

    int updateByExample(@Param("record") FlowFormInstance record, @Param("example") FlowFormInstanceExample example);

    int updateByPrimaryKeySelective(FlowFormInstance record);

    int updateByPrimaryKeyWithBLOBs(FlowFormInstance record);

    int updateByPrimaryKey(FlowFormInstance record);
}